#!/usr/bin/env python3.4

shoplist = ['apple', 'mango', 'carrot', 'banana']
#mylist is just another name pointing to the same object

print('Simple Assignment')
mylist = shoplist
del mylist[0]
print('shoplist is', shoplist)
print('mylist is', mylist)

print('Copy by making a full slice')
#make a copy by doing a full slice
mylist = shoplist[:]
del mylist[0]
print('shoplist is', shoplist)
print('mylist is', mylist)

